FHIR © HL7.org  |  Server Home  |  FHIR Server FHIR Server 3.4.11  |  FHIR Version n/a  User: [n/a]

Resource StructureMap/FHIR Server from package hl7.fhir.uv.xver#current (15 ms)

Package hl7.fhir.uv.xver
Type StructureMap
Id Id
FHIR Version R5
Source http://hl7.org/fhir/extensions/https://build.fhir.org/ig/HL7/fhir-cross-version/StructureMap-EnrollmentRequest4Bto5.html
Url http://hl7.org/fhir/StructureMap/EnrollmentRequest4Bto5
Version 0.1.0
Status draft
Date 2024-02-22T03:16:50+00:00
Name EnrollmentRequest4Bto5
Title EnrollmentRequest Transforms: R4B to R5
Experimental False
Realm uv
Authority hl7
Description EnrollmentRequestTransformsR4BtoR5

Resources that use this resource

No resources found


Resources that this resource uses

No resources found



Narrative

Note: links and images are rebased to the (stated) source

/// url = 'http://hl7.org/fhir/StructureMap/EnrollmentRequest4Bto5'
/// name = 'EnrollmentRequest4Bto5'
/// title = 'EnrollmentRequest Transforms: R4B to R5'
/// status = 'draft'

uses "http://hl7.org/fhir/4.3/EnrollmentRequest" alias EnrollmentRequestR4B as source
uses "http://hl7.org/fhir/5.0/EnrollmentRequest" alias EnrollmentRequestR5 as target

imports "http://hl7.org/fhir/StructureMap/*4Bto5"

group EnrollmentRequest(source src : EnrollmentRequestR4B, target tgt : EnrollmentRequestR5) extends DomainResource <<type+>> {
  src.identifier -> tgt.identifier;
  src.status as v -> tgt.status = translate(v, 'http://hl7.org/fhir/ConceptMap/EnrollmentRequestB.status-R4BtoR5', 'code');
  src.created -> tgt.created;
  src.insurer -> tgt.insurer;
  src.provider -> tgt.provider;
  src.candidate -> tgt.candidate;
  src.coverage -> tgt.coverage;
}


Source

{
  "resourceType" : "StructureMap",
  "id" : "EnrollmentRequest4Bto5",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><pre class=\"fml\">\r\n<span style=\"color: #cc00cc\">/// <b>url</b> = </span><span style=\"color: blue\">'http://hl7.org/fhir/StructureMap/EnrollmentRequest4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>name</b> = </span><span style=\"color: blue\">'EnrollmentRequest4Bto5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>title</b> = </span><span style=\"color: blue\">'EnrollmentRequest Transforms: R4B to R5'</span>\r\n<span style=\"color: #cc00cc\">/// <b>status</b> = </span><span style=\"color: blue\">'draft'</span>\r\n\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/4.3/EnrollmentRequest<span style=\"color: navy\">&quot; </span><b>alias </b>EnrollmentRequestR4B <b>as </b><b>source</b>\r\n<b>uses</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/5.0/EnrollmentRequest<span style=\"color: navy\">&quot; </span><b>alias </b>EnrollmentRequestR5 <b>as </b><b>target</b>\r\n\r\n<b>imports</b><span style=\"color: navy\"> &quot;</span>http://hl7.org/fhir/StructureMap/*4Bto5<span style=\"color: navy\">&quot;\r\n</span>\r\n<b>group </b>EnrollmentRequest<span style=\"color: navy\">(</span><b>source</b> <span style=\"color: maroon\">src</span><span style=\"color: navy\"> : </span>EnrollmentRequestR4B, <b>target</b> <span style=\"color: maroon\">tgt</span><span style=\"color: navy\"> : </span>EnrollmentRequestR5<span style=\"color: navy\">)</span><b> extends </b>DomainResource<b> &lt;&lt;type+&gt;&gt;</b><span style=\"color: navy\"> {\r\n</span> src.identifier<span style=\"color: navy\"><b> -&gt; </b></span>tgt.identifier<span style=\"color: navy\">;</span>\r\n src.status<b> as </b><span style=\"color: maroon\">v</span><span style=\"color: navy\"><b> -&gt; </b></span>tgt.status = <b>translate</b><span style=\"color: navy\">(</span><span style=\"color: maroon\">v</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'http://hl7.org/fhir/ConceptMap/EnrollmentRequestB.status-R4BtoR5'</span><span style=\"color: navy\">, </span><span style=\"color: blue\">'code'</span><span style=\"color: navy\">)</span><span style=\"color: navy\">;</span>\r\n src.created<span style=\"color: navy\"><b> -&gt; </b></span>tgt.created<span style=\"color: navy\">;</span>\r\n src.insurer<span style=\"color: navy\"><b> -&gt; </b></span>tgt.insurer<span style=\"color: navy\">;</span>\r\n src.provider<span style=\"color: navy\"><b> -&gt; </b></span>tgt.provider<span style=\"color: navy\">;</span>\r\n src.candidate<span style=\"color: navy\"><b> -&gt; </b></span>tgt.candidate<span style=\"color: navy\">;</span>\r\n src.coverage<span style=\"color: navy\"><b> -&gt; </b></span>tgt.coverage<span style=\"color: navy\">;</span>\r\n<span style=\"color: navy\">}\r\n\r\n</span></pre></div>"
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg",
      "valueCode" : "fhir"
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
      "valueInteger" : 1,
      "_valueInteger" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    },
    {
      "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
      "valueCode" : "draft",
      "_valueCode" : {
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom",
            "valueCanonical" : "http://hl7.org/fhir/extensions/ImplementationGuide/hl7.fhir.uv.xver"
          }
        ]
      }
    }
  ],
  "url" : "http://hl7.org/fhir/StructureMap/EnrollmentRequest4Bto5",
  "version" : "0.1.0",
  "name" : "EnrollmentRequest4Bto5",
  "title" : "EnrollmentRequest Transforms: R4B to R5",
  "status" : "draft",
  "date" : "2024-02-22T03:16:50+00:00",
  "publisher" : "HL7 International / FHIR Infrastructure",
  "contact" : [
    {
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://www.hl7.org/Special/committees/fiwg"
        }
      ]
    }
  ],
  "description" : "EnrollmentRequestTransformsR4BtoR5",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "http://unstats.un.org/unsd/methods/m49/m49.htm",
          "code" : "001"
        }
      ]
    }
  ],
  "structure" : [
    {
      "url" : "http://hl7.org/fhir/4.3/EnrollmentRequest",
      "mode" : "source",
      "alias" : "EnrollmentRequestR4B"
    },
    {
      "url" : "http://hl7.org/fhir/5.0/EnrollmentRequest",
      "mode" : "target",
      "alias" : "EnrollmentRequestR5"
    }
  ],
  "import" : [
    "http://hl7.org/fhir/StructureMap/*4Bto5"
  ],
  "group" : [
    {
      "name" : "EnrollmentRequest",
      "extends" : "DomainResource",
      "typeMode" : "type-and-types",
      "input" : [
        {
          "name" : "src",
          "type" : "EnrollmentRequestR4B",
          "mode" : "source"
        },
        {
          "name" : "tgt",
          "type" : "EnrollmentRequestR5",
          "mode" : "target"
        }
      ],
      "rule" : [
        {
          "name" : "identifier",
          "source" : [
            {
              "context" : "src",
              "element" : "identifier",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "identifier",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "status",
          "source" : [
            {
              "context" : "src",
              "element" : "status",
              "variable" : "v"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "status",
              "transform" : "translate",
              "parameter" : [
                {
                  "valueId" : "v"
                },
                {
                  "valueString" : "http://hl7.org/fhir/ConceptMap/EnrollmentRequestB.status-R4BtoR5"
                },
                {
                  "valueString" : "code"
                }
              ]
            }
          ]
        },
        {
          "name" : "created",
          "source" : [
            {
              "context" : "src",
              "element" : "created",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "created",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "insurer",
          "source" : [
            {
              "context" : "src",
              "element" : "insurer",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "insurer",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "provider",
          "source" : [
            {
              "context" : "src",
              "element" : "provider",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "provider",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "candidate",
          "source" : [
            {
              "context" : "src",
              "element" : "candidate",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "candidate",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        },
        {
          "name" : "coverage",
          "source" : [
            {
              "context" : "src",
              "element" : "coverage",
              "variable" : "vvv"
            }
          ],
          "target" : [
            {
              "context" : "tgt",
              "element" : "coverage",
              "variable" : "vvv",
              "transform" : "create"
            }
          ],
          "dependent" : [
            {
              "name" : "DefaultMappingGroupAnonymousAlias",
              "parameter" : [
                {
                  "valueId" : "vvv"
                },
                {
                  "valueId" : "vvv"
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.